import java.io.UnsupportedEncodingException;

/**
 * Created by dell on 2017/7/20.
 */
public class ByteTest {
    public static void main(String[] args) throws UnsupportedEncodingException {
        System.out.println("张虎".getBytes("gbk").length);
    }
}
